<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="../../common/init.jsp"%>
<script type="text/javascript" src="${ctx}/static/00100/javascripts/gopay/gopayChannel.js"></script>
<div class="tabscon posiRelative" id="gopayTab">
    <form action="${cas_server_url }/login" method="post" id="gopayLoginSSOForm" name="gopayLoginSSOForm">
    <table class="table-tml">
        <tbody>
        <tr>
            <th>用户名：</th>
            <td class="posiRelative">
                <input type="text" class="input-style-2" name="username" id="username"/>
                <span class="tips-7 zoom" id="usernameTip" style='display: <c:if test="${empty casErrMsg}">none</c:if>'>${casErrMsg}</span>
            </td>
        </tr>
        <tr id="operIdTr" <c:if test="${casCustUserType ne '20'}"> style='display: none'</c:if>>
            <th>操作员：</th>
            <td class="posiRelative">
                <select style="padding:5px 0" class="width140 marginRight10" id="operType" name="operType">
                    <option value="1" selected>管理员</option>
                    <option value="2">财务员或业务员</option>
                </select>
                <span id="oprIdView" style="display: none">
                    <input type="text" id="oprId" name="oprId" value="999" maxlength="4" class="input-style-2 width76 verticalTop" />
                    <span class="tips-7 zoom" id="oprIdTip" style="display: none"></span>
                </span>
            </td>
        </tr>
        <tr>
            <th>密&nbsp;&nbsp;&nbsp;&nbsp;码：</th>
            <td>
                <div class="fix">
                    <span id="gopayLoginPwdCtrlDiv" style="float: left;"></span>
                    <span id="gopayLoginPwdCtrlDivTip" style="display: none;float: left;">
                    <span class="tips-3 zoom"><a href="#" onclick='javascript:window.location.href=cas_server_url+"/gopay/tools/GFB_SetupControl_1.0.2.0.exe"'>点击安装密码安全控件</a></span></span>
                    <a style="float:left;margin-top:8px;" href="${portal_url }/cust/findloginpasswd/findloginpwdemail.shtml" target="_blank">找回密码</a>
                    <span class="tips-7 zoom" id="gopayLoginPwdTip" style="display: none"></span>
                </div>
            </td>
        </tr>
        <tr <c:if test="${authDisplay ne '1'}"> style='display: none'</c:if>>
            <th>验证码：</th>
            <td class="posiRelative">
                <input type="text" class="input-style-2 width104 marginRight10" name="authCode" id="authCode"/><img  id="authCodeImg"  class="marginRight10" src="${ctx }/captcha/default.jpeg" ><span class="refresh zoom" onclick="refreshAuthCode();" style="cursor:pointer;"></span>
                <span class="tips-7 zoom" id="authCodeTip" style="display: none"></span>
            </td>
        </tr>
        <tr>
            <th>
                <input type="hidden" name="lt" id="lt"/>
                <input type="hidden" name="userType" id="userType"/>
                <input type="hidden" name="clientIp" id="clientIp" value="${clientIp }"/>
                <input type="hidden" name="sessionId" value="${sessionId}" />
                <input type="hidden" name="pwdToken" id="pwdToken" />
                <input type="hidden" name="_eventId" value="submit" />
                <input type="hidden" name="custSubmit" id="custSubmit" value="true"/>
                <input type="hidden" name="fingerInfo" id="fingerInfo"/>
            </th>
            <td>
                <button type="button" class="btn-2" id="loginSubmitBtn" onclick="loginSubmit();">登 录</button>
                <span class="icon-safe zoom"></span>
                <input type="hidden" name="casErrFlag" id="casErrFlag" value="${casErrFlag}"/>
                <input type="hidden" name="casCustUserType" id="casCustUserType" value="${casCustUserType}"/>
                <input type="hidden" name="authDisplay" id="authDisplay" value="${authDisplay}"/>
                <input type="hidden" name="portalUrl" id="portalUrl" value="${portal_url}"/>
            </td>
        </tr>
        </tbody>
    </table>
        </form>
</div>

